<?php defined('_JEXEC') or die('Restricted access'); ?>
<h1><?php echo JText::_('COM_BROWSEREMPIRE_APPLICATIONPLANET_TITLE'); ?> (#<?php echo $this->tApplicationPlanet->getId(); ?>)</h1>

<?php if(empty($this->cApplicationAction) === false) { ?>
	<div class="container">
		<div class="container-header"><?php echo JText::_('COM_BROWSEREMPIRE_APPLICATIONACTION_TITLE'); ?></div>
		<div class="container-inner">
			<ul>
				<?php foreach($this->cApplicationAction as $tApplicationAction) { ?>
					<li><?php echo JHtml::link(BeRouteHelper::_($tApplicationAction->getLink() . '&id=' . $this->tApplicationPlanet->getId()), htmlspecialchars($tApplicationAction->getName())); ?></li>
				<?php } ?>
			</ul>
		</div>
	</div>
<?php } ?>

<?php if(empty($this->cApplicationColony) === false) { ?>
	<div class="container">
		<div class="container-header"><?php echo JText::_('COM_BROWSEREMPIRE_APPLICATIONCOLONY_TITLE'); ?></div>
		<div class="container-inner">
			<ul>
				<?php foreach($this->cApplicationColony as $tApplicationColony) { ?>
					<li><?php echo JHtml::link(BeRouteHelper::_('view=applicationcolony&&id=' . $tApplicationColony->getId()), $tApplicationColony->getId()); ?></li>
				<?php } ?>
			</ul>
		</div>
	</div>
<?php } ?>